package MessagePacks;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class UpdatePack extends MessagePack{

	private static final long serialVersionUID = 1L;
	private String status;
	private int responOk;
	private int phaseNum;
	private int workerId;
	private int procId;
	private int time;
	private String testfail;
	
	/**
	 * Constructor
	 * @param op - Operation code
	 */
	public UpdatePack(int op) {
		super(op);

	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getProcId() {
		return procId;
	}

	public void setProcId(int procId) {
		this.procId = procId;
	}

	public int getWorkerId() {
		return workerId;
	}

	public void setWorkerId(int workerId) {
		this.workerId = workerId;
	}

	public int getResponOk() {
		return responOk;
	}

	public void setResponOk(int responOk) {
		this.responOk = responOk;
	}

	public int getPhaseNum() {
		return phaseNum;
	}

	public void setPhaseNum(int phaseNum) {
		this.phaseNum = phaseNum;
	}

	public String getTestfail() {
		return testfail;
	}

	public void setTestfail(String testfail) {
		this.testfail = testfail;
	}
	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

}
